package com.hh.goodsmanage.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.hh.baseframework.util.base.BaseServiceAction;
import com.hh.goodsmanage.bean.Goodsmanage;
import com.hh.goodsmanage.service.impl.GoodsmanageService;
import com.hh.system.service.impl.BaseService;

@SuppressWarnings("serial")
public class ActionGoodsmanage extends BaseServiceAction<Goodsmanage> {
	@Autowired
	private GoodsmanageService service;

	public BaseService<Goodsmanage> getService() {
		return service;
	}

	public void viewInventory() {
		this.returnResult(service.viewInventory(object.getId()));
	}
}